package com.example.dddsample.gateway.Interceptor;

import com.example.commom.exception.BizException;
import feign.RequestInterceptor;
import feign.RequestTemplate;

/**
 * @author: bebm
 * @date: 2022/4/6 8:56
 * @description:
 */
public class FeignBasicAuthRequestInterceptor implements RequestInterceptor {

    public FeignBasicAuthRequestInterceptor() {
    }
    @Override
    public void apply(RequestTemplate template) {
        // 权限认证
        //
        //
        //throw  new BizException();
    }
}
